home *** CD-ROM | disk | FTP | other *** search
/ Pascal Super Library / Pascal Super Library (CW International)(1997).bin / GRP_CVTR / REALIZ10 / SAMP014.RDR < prev    next >
Text File  |  1994-05-29  |  1KB  |  48 lines

  1. * Converts the demoplan.dxf to a brick maze
  2. *  This will not produce an object at all but for
  3. *   line 8  giving all lines a thickness of 3.
  4.  
  5. global
  6.     sky cloudy
  7.     floor grassy
  8.     default_2d_thickness 3
  9.     autolight no
  10. * the next line turns off optimizing for this very small model
  11.     no_optimize
  12.  
  13. * The only modification of demoplan.dxf is the grouping of horizontal and
  14. * vertical lines so as to texture them properly.
  15. * X layer holds all horizontal lines and y layer holds all vertical lines.
  16.  
  17. layer x layer_texture
  18.     pigment_map bricks
  19.     up z right x
  20.     no_fit
  21.     no_transform
  22.     finish matte
  23.  
  24. layer y layer_texture
  25.     pigment_map bricks
  26.     up z right y
  27.     no_fit
  28.     no_transform
  29.     finish matte
  30.  
  31.  
  32. * the following replaces default view and lighting to show more detail
  33.  
  34. insert at_end begin_insert
  35.     camera {
  36.       location <36.7119500,-1.5350000,4.3962890>
  37.       direction <0.0,0.0,1.9157088>
  38.       up <0.0,0.0,1.0>
  39.       sky <0.0,0.0,1.0>
  40.       right <-1.3333333,0.0,0.0>
  41.       look_at <12.1552320,10.1385200,1.7488420>
  42.     }
  43.     object{
  44.       light_source {<30.8475875,-13.8714243,11.2259689>
  45.       color red 1 green 1 blue 1}
  46.     }
  47.     end_insert
  48.